package com.yang.service;

import com.yang.pojo.SysUser;

import java.util.Map;

/**
 * @Author 杨天可
 * @Date 2021/6/11 10:26
 * @Version 1.0
 */
public interface SysUserService {
    SysUser findByUsername(String username);

    /* 注册账号*/
    Map<String,Object> regist(SysUser sysUser);

    /* 校验验证码*/
    Map<String,Object> checkCode(String username, Integer code);

    /* 修改密码*/
    Map<String,Object> ChangePassword(String username, String password);

    /* 修改个人信息*/
    Map<String, Object> updateSysUser(SysUser sysUser);

    /* 获取登录用户信息*/
    Map<String, Object> getSubject();
}
